﻿#if UNITY_EDITOR
using System;
using UnityEngine;

namespace Runtime.Settings {

    [Serializable]
    public class DFR_NetConnectionPreferenceSettings : ScriptableObject {

        public const string EDITOR_LABEL = "NetConnection";

        public static readonly string EDITOR_FIELD_NAME_ENABLED = nameof(m_IsEnabled);

        [SerializeField]
        [Header("是否启用网络连接,如不勾选将开启本地模拟")]
        private bool m_IsEnabled = true;

        public bool IsEnabled => m_IsEnabled;
    }
}
#endif
